# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=adminpagefinder
pkgver=0.1
pkgrel=6
groups=('blackarch' 'blackarch-webapp' 'blackarch-scanner')
pkgdesc='This python script looks for a large amount of possible administrative interfaces on a given site.'
arch=('any')
url='http://packetstormsecurity.com/files/112855/Admin-Page-Finder-Script.html'
license=('custom:unknown')
depends=('python2')
source=("$pkgname::https://dl.packetstormsecurity.net/UNIX/utilities/AdminpageFinder.py.txt")
sha512sums=('1d556c9d9781ef682b6eda2523fd6e986a459d1edb7c240d9db2652f8f2cd98912f0466e7f19641d46a3c7f8e47b1ab18add63b992762a48b5eb6b18a9d138a4')

prepare() {
  sed -i '1i\#!/usr/bin/env python2' $pkgname
}

package() {
  install -Dm 755 $pkgname "$pkgdir/usr/bin/$pkgname"
}

